﻿using System;

class AgeIn10Years
{
    static void Main()
    {
        while (true)
        {
            try
            {
                Console.Write("Type your current age: ");
                int ageInTenYears;
                ageInTenYears = int.Parse(Console.ReadLine()) + 10;
                Console.WriteLine("You will be {0} years old 10 years from now...", ageInTenYears);
                break;
            }
            catch (FormatException)
            {
                Console.WriteLine("Illegal age!!!");
            }
        }
    }
}